<div id="alpha">
<div id="alpha-inner">

<h1>Create a new network</h1>

<div id="form_container" class="form_container">
<% form_for(@network) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :name %><br />
    <%= f.text_field :name %>
  </p>
  
  <p>
    <%= f.label :description %><br />
    <%= f.text_area :description, :cols => 40, :rows => 5 %>
  </p>
  
  <p>
    <label>Is this a private network? </label>
    <%= f.radio_button :is_private, "0" %>No
    <%= f.radio_button :is_private, "1" %>Yes
  </p>
  
  <p>
<!--    <%= f.select( :network_type_id, NetworkType.find(:all).collect {|t| [ t.name, t.id ] }) %> -->
  </p>
  
  <p>
    <%= f.submit "Create" %>
  </p>

<% end %>

<%= link_to 'Back', networks_path %>
</div>
</div><!-- /alpha-inner -->
</div><!-- /alpha -->